import request from '@/utils/request'

// 查询职称列列表
export function listPositionaltitleslist(query) {
  return request({
    url: '/system/positionaltitleslist/list',
    method: 'get',
    params: query
  })
}

// 查询职称列详细
export function getPositionaltitleslist(positionaltitlesid) {
  return request({
    url: '/system/positionaltitleslist/' + positionaltitlesid,
    method: 'get'
  })
}

// 新增职称列
export function addPositionaltitleslist(data) {
  return request({
    url: '/system/positionaltitleslist',
    method: 'post',
    data: data
  })
}

// 修改职称列
export function updatePositionaltitleslist(data) {
  return request({
    url: '/system/positionaltitleslist',
    method: 'put',
    data: data
  })
}

// 删除职称列
export function delPositionaltitleslist(positionaltitlesid) {
  return request({
    url: '/system/positionaltitleslist/' + positionaltitlesid,
    method: 'delete'
  })
}
